home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_3.5 / Include / include_h / pragmas / getscreenmode_pragmas.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-20  |  1.2 KB  |  42 lines

  1. #ifndef PRAGMAS_GETSCREENMODE_PRAGMAS_H
  2. #define PRAGMAS_GETSCREENMODE_PRAGMAS_H
  3.  
  4. /*
  5. **    $VER: getscreenmode_pragmas.h 1.1 (6.10.1999)
  6. **    Includes Release 44.1
  7. **
  8. **    Direct ROM interface (pragma) definitions.
  9. **
  10. **    Copyright © 1999 Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #if defined(LATTICE) || defined(__SASC) || defined(_DCC)
  15. #ifndef __CLIB_PRAGMA_LIBCALL
  16. #define __CLIB_PRAGMA_LIBCALL
  17. #endif /* __CLIB_PRAGMA_LIBCALL */
  18. #else /* __MAXON__, __STORM__ or AZTEC_C */
  19. #ifndef __CLIB_PRAGMA_AMICALL
  20. #define __CLIB_PRAGMA_AMICALL
  21. #endif /* __CLIB_PRAGMA_AMICALL */
  22. #endif /* */
  23.  
  24. #if defined(__SASC) || defined(__STORM__)
  25. #ifndef __CLIB_PRAGMA_TAGCALL
  26. #define __CLIB_PRAGMA_TAGCALL
  27. #endif /* __CLIB_PRAGMA_TAGCALL */
  28. #endif /* __MAXON__, __STORM__ or AZTEC_C */
  29.  
  30. #ifndef CLIB_GETSCREENMODE_PROTOS_H
  31. #include <clib/getscreenmode_protos.h>
  32. #endif /* CLIB_GETSCREENMODE_PROTOS_H */
  33.  
  34. #ifdef __CLIB_PRAGMA_LIBCALL
  35.  #pragma libcall GetScreenModeBase GETSCREENMODE_GetClass 1e 00
  36. #endif /* __CLIB_PRAGMA_LIBCALL */
  37. #ifdef __CLIB_PRAGMA_AMICALL
  38.  #pragma amicall(GetScreenModeBase, 0x1e, GETSCREENMODE_GetClass())
  39. #endif /* __CLIB_PRAGMA_AMICALL */
  40.  
  41. #endif /* PRAGMAS_GETSCREENMODE_PRAGMAS_H */
  42.